package j03bianma;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.InputStreamReader;

public class J1 {
    public static void main(String[] args) throws Exception {
//        FileReader f = new FileReader("_1219\\src\\j03bianma\\1-utf8.txt");
        FileReader f = new FileReader("_1219\\src\\j03bianma\\1-ansi.txt");
        System.out.println((char) f.read());
    }
}

class J2jiejue{
    public static void main(String[] args) throws Exception {
        InputStreamReader f = new InputStreamReader(
                new FileInputStream("_1219\\src\\j03bianma\\1-ansi.txt"),
                "GBK"
        );
        System.out.println((char)f.read());
    }
}
